package com.bls.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (ActionLog)实体类
 *
 * @author makejava
 * @since 2022-01-13 09:58:37
 */
@Data
@Table(name = "bls_action_log")
public class ActionLog implements Serializable {
    private static final long serialVersionUID = -20339206322567557L;
    /**
     * 操作日志表的主键id
     */
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 操作者id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * 操作者
     */
    @Column(name = "user_name")
    private String userName;
    /**
     * 操作行为
     */
    @Column(name = "action")
    private String action;
    /**
     * 被操作的对象
     */
    @Column(name = "object")
    private String object;
    /**
     * 操作类型
     */
    @Column(name = "type")
    private String type;
    /**
     * 操作帮区id
     */
    @Column(name = "band_id")
    private Long bandId;
    /**
     * 操作帮区名
     */
    @Column(name = "band_name")
    private String bandName;
    /**
     * 操作时间
     */
    @Column(name = "time")
    private Date time;


}

